#!/bin/sh

if [ -n "$1" ] ;then
    netstat -anp | grep ":$1"
else
    netstat -anp | grep ":1080"
    netstat -anp | grep ":1081"
fi


